package com.unusap.remote.core.remote.factory;

/**
 * 提供webservice底层connection的定制
 * Created by IntelliJ IDEA.
 * User: danson
 * Date: 2009-8-20
 * Time: 17:54:49
 * To change this template use File | Settings | File Templates.
 */
public abstract class AbstractHttpWebServiceFactory extends AbstractWebServiceFactory {

    protected int timeout = 0;

    protected String user;

    protected String password;

    protected HttpHeadersProvider httpHeadersProvider;

    public AbstractHttpWebServiceFactory(String serviceHost) {
        super(serviceHost);
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public HttpHeadersProvider getHttpHeaderProvider() {
        return httpHeadersProvider;
    }

    public void setHttpHeaderProvider(HttpHeadersProvider httpHeadersProvider) {
        this.httpHeadersProvider = httpHeadersProvider;
    }
}
